projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdba8b
)
Reset state after some frame header is found.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Oct 2008 21:08:14 +0000
(21:08 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Oct 2008 21:08:14 +0000
(21:08 +0000)
Fixes issue704
Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac_ac3_parser.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/aac_ac3_parser.c
b/libavcodec/aac_ac3_parser.c
index
20a9897
..
82d7c04
100644
(file)
--- a/
libavcodec/aac_ac3_parser.c
+++ b/
libavcodec/aac_ac3_parser.c
@@
-49,6
+49,7
@@
get_next:
if(len<=0){
i=END_NOT_FOUND;
}else{
+ s->state=0;
i-= s->header_size -1;
s->remaining_size = len;
if(!new_frame_start || pc->index+i<=0){