diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-07-25 11:54:03 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-07-25 11:54:03 +0000 |
commit | 5118c6c771b64afac7018b0dfaf55c022bb2ad47 (patch) | |
tree | 7eaf50733542e80cd588b5e7f8c70d12f27f5eea /libavcodec/h264.c | |
parent | 849b9cef32bf8e9052dc916e9a96230df32f745d (diff) | |
download | ffmpeg-5118c6c771b64afac7018b0dfaf55c022bb2ad47.tar.gz |
Assert that long_ref has been cleared for released pics.
Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index eef34db57d..368ce352fa 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2268,6 +2268,7 @@ static int frame_start(H264Context *h){ s->current_picture_ptr->field_poc[0]= s->current_picture_ptr->field_poc[1]= INT_MAX; + assert(s->current_picture_ptr->long_ref==0); return 0; } |