projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
849b9ce
)
Assert that long_ref has been cleared for released pics.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 25 Jul 2008 11:54:03 +0000
(11:54 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 25 Jul 2008 11:54:03 +0000
(11:54 +0000)
Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
eef34db
..
368ce35
100644
(file)
--- 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;
}