diff options
Diffstat (limited to 'ffmpeg/libavcodec/h264_direct.c')
| -rw-r--r-- | ffmpeg/libavcodec/h264_direct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg/libavcodec/h264_direct.c b/ffmpeg/libavcodec/h264_direct.c index 2f49d0a..477359c 100644 --- a/ffmpeg/libavcodec/h264_direct.c +++ b/ffmpeg/libavcodec/h264_direct.c @@ -32,7 +32,6 @@ #include "rectangle.h" #include "thread.h" -//#undef NDEBUG #include <assert.h> @@ -209,6 +208,7 @@ static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ mv[list]= AV_RN32A(C); } } + av_assert2(ref[list] < (h->ref_count[list] << !!FRAME_MBAFF(h))); }else{ int mask= ~(MB_TYPE_L0 << (2*list)); mv[list] = 0; |
