Skip to content

Commit 435bc7f

Browse files
committed
ffmpeg: Set field_order on the codec_par
1 parent c3aed0c commit 435bc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ static void do_video_out(AVFormatContext *s,
921921
int ret, format_video_sync;
922922
AVPacket pkt;
923923
AVCodecContext *enc = ost->enc_ctx;
924-
AVCodecContext *mux_enc = ost->st->codec;
924+
AVCodecContext *mux_enc = ost->st->codecpar;
925925
int nb_frames, nb0_frames, i;
926926
double delta, delta0;
927927
double duration = 0;

0 commit comments

Comments
 (0)