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:
3ded235
)
ac3dec: use AVFrame accessor functions
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 21:23:54 +0000
(22:23 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 22:18:22 +0000
(23:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
5dde004
..
51ef187
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-1406,7
+1406,7
@@
static int ac3_decode_frame(AVCodecContext * avctx, void *data,
}
}
-
frame->decode_error_flags = err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0
;
+
av_frame_set_decode_error_flags(frame, err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0)
;
/* keep last block for error concealment in next frame */
for (ch = 0; ch < s->out_channels; ch++)