You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h261dec: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
* H.261 decoder.
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "dsputil.h"
|
||||
#include "avcodec.h"
|
||||
#include "mpegvideo.h"
|
||||
@@ -629,8 +630,8 @@ retry:
|
||||
}
|
||||
ff_MPV_frame_end(s);
|
||||
|
||||
assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
|
||||
assert(s->current_picture.f.pict_type == s->pict_type);
|
||||
av_assert0(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
|
||||
av_assert0(s->current_picture.f.pict_type == s->pict_type);
|
||||
|
||||
*pict = s->current_picture_ptr->f;
|
||||
ff_print_debug_info(s, pict);
|
||||
|
Reference in New Issue
Block a user