OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4cf222
)
Reset prev_frame_num for idr frames as required by the spec.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 24 Jul 2008 00:45:18 +0000
(
00:45
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 24 Jul 2008 00:45:18 +0000
(
00:45
+0000)
Originally committed as revision 14354 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
2bf0cc1
..
2ddce41
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3303,6
+3303,7
@@
static void idr(H264Context *h){
h->short_ref[i]= NULL;
}
h->short_ref_count=0;
+ h->prev_frame_num= 0;
}
/* forget old pics after a seek */