Skip to content

Commit a0aed62

Browse files
author
Clement Champetier
committed
VideoStreamProperties: fix uninitialized variable topFieldFirst
Warning from Coverity Scan.
1 parent c838aea commit a0aed62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AvTranscoder/Metadatas/VideoStreamProperties.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ VideoProperties videoStreamInfo(
124124
vp.maxBitRate = codec_context->rc_max_rate;
125125
vp.minBitRate = codec_context->rc_min_rate;
126126
vp.isInterlaced = false;
127+
vp.topFieldFirst = false;
127128

128129
vp.ticksPerFrame = codec_context->ticks_per_frame,
129130
vp.width = codec_context->width,

0 commit comments

Comments
 (0)