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:
3477874
)
avcodec/vda_h264_dec: avoid declaring int in for arguments
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 29 Dec 2013 02:10:08 +0000
(
03:10
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 29 Dec 2013 02:16:28 +0000
(
03:16
+0100)
Some compilers dont support that
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vda_h264_dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/vda_h264_dec.c
b/libavcodec/vda_h264_dec.c
index
d2ef5dc
..
c00e7e4
100644
(file)
--- a/
libavcodec/vda_h264_dec.c
+++ b/
libavcodec/vda_h264_dec.c
@@
-180,7
+180,7
@@
static av_cold int vdadec_init(AVCodecContext *avctx)
VDADecoderContext *ctx = avctx->priv_data;
struct vda_context *vda_ctx = &ctx->vda_ctx;
OSStatus status;
- int ret;
+ int ret
, i
;
ctx->h264_initialized = 0;
@@
-235,7
+235,7
@@
static av_cold int vdadec_init(AVCodecContext *avctx)
}
ctx->h264_initialized = 1;
- for (i
nt i
= 0; i < MAX_SPS_COUNT; i++) {
+ for (i = 0; i < MAX_SPS_COUNT; i++) {
SPS *sps = ctx->h264ctx.sps_buffers[i];
if (sps && (sps->bit_depth_luma != 8 ||
sps->chroma_format_idc == 2 ||