projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6153bd
)
avcodec/png_parser: Return the buffered data at the end
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 11 Sep 2014 14:40:25 +0000
(16:40 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 11 Sep 2014 14:47:01 +0000
(16:47 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/png_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/png_parser.c
b/libavcodec/png_parser.c
index
530d5a0
..
74f2964
100644
(file)
--- a/
libavcodec/png_parser.c
+++ b/
libavcodec/png_parser.c
@@
-45,8
+45,6
@@
static int png_parse(AVCodecParserContext *s, AVCodecContext *avctx,
s->pict_type = AV_PICTURE_TYPE_NONE;
*poutbuf_size = 0;
- if (buf_size == 0)
- return 0;
if (!ppc->pc.frame_start_found) {
uint64_t state64 = ppc->pc.state64;