diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
| commit | f7813a5324be39d13ab536c245d15dfc602a7849 (patch) | |
| tree | fad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/h264_direct.c | |
| parent | b7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff) | |
basic type mechanism working
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; |
