OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa0068
)
dnxhddec: return the correct number of bytes from decode_frame
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 4 Mar 2013 17:17:47 +0000
(18:17 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 4 Mar 2013 17:17:47 +0000
(18:17 +0100)
Fixes Ticket2022
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dnxhddec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dnxhddec.c
b/libavcodec/dnxhddec.c
index
0af685e
..
429d9a5
100644
(file)
--- a/
libavcodec/dnxhddec.c
+++ b/
libavcodec/dnxhddec.c
@@
-406,7
+406,7
@@
static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
*picture = ctx->picture;
*got_frame = 1;
- return
buf_
size;
+ return
avpkt->
size;
}
static av_cold int dnxhd_decode_close(AVCodecContext *avctx)