Browse Source

ffmpeg: fix uninitialized variable warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer 13 years ago
parent
commit
8364cb9719
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffmpeg.c

+ 1
- 0
ffmpeg.c View File

@@ -2151,6 +2151,7 @@ static int poll_filters(void)
}
break;
}
frame_pts = AV_NOPTS_VALUE;
if (ost->enc->type == AVMEDIA_TYPE_VIDEO)
filtered_frame->pts = frame_pts = av_rescale_q(picref->pts, ist_pts_tb, AV_TIME_BASE_Q);
else if (picref->pts != AV_NOPTS_VALUE)


Loading…
Cancel
Save