diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2016-11-24 17:45:00 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-01 14:01:51 +0300 |
commit | 4d57ca51d7afb05bfa8c9a889822253dfc239a0d (patch) | |
tree | cb25478be15b25238b87e5604ae46674235c7e35 /ffmpeg.c | |
parent | d44af9a38e6b116e1a89b2862f4d4f8cb9855387 (diff) |
ffmpeg: assert return value is initialized
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |