ffmpeg: assert return value is initialized

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/241/head
Tobias Rapp 8 years ago committed by Michael Niedermayer
parent d44af9a38e
commit 4d57ca51d7
  1. 1
      ffmpeg.c

@ -2070,6 +2070,7 @@ static int send_frame_to_filters(InputStream *ist, AVFrame *decoded_frame)
int i, ret;
AVFrame *f;
av_assert1(ist->nb_filters > 0); /* ensure ret is initialized */
for (i = 0; i < ist->nb_filters; i++) {
if (i < ist->nb_filters - 1) {
f = ist->filter_frame;

Loading…
Cancel
Save