Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-05-26 16:33:41 +0300
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-03 11:20:54 +0300
commit12f47539ca7310382d0b26c729a6628d6bb9faea (patch)
treefb1039afa7fbcfae701c38c97e96c9f32fd8ce66 /libavcodec
parent15432a903e367caf334343abd4da16524e4755a8 (diff)
lavc/mediacodecdec_h264: rename input_ref to input_pkt
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mediacodecdec_h264.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/mediacodecdec_h264.c b/libavcodec/mediacodecdec_h264.c
index ce9ca46d23..52e48aecb3 100644
--- a/libavcodec/mediacodecdec_h264.c
+++ b/libavcodec/mediacodecdec_h264.c
@@ -257,19 +257,19 @@ static int mediacodec_decode_frame(AVCodecContext *avctx, void *data,
/* buffer the input packet */
if (avpkt->size) {
- AVPacket input_ref = { 0 };
+ AVPacket input_pkt = { 0 };
- if (av_fifo_space(s->fifo) < sizeof(input_ref)) {
+ if (av_fifo_space(s->fifo) < sizeof(input_pkt)) {
ret = av_fifo_realloc2(s->fifo,
- av_fifo_size(s->fifo) + sizeof(input_ref));
+ av_fifo_size(s->fifo) + sizeof(input_pkt));
if (ret < 0)
return ret;
}
- ret = av_packet_ref(&input_ref, avpkt);
+ ret = av_packet_ref(&input_pkt, avpkt);
if (ret < 0)
return ret;
- av_fifo_generic_write(s->fifo, &input_ref, sizeof(input_ref), NULL);
+ av_fifo_generic_write(s->fifo, &input_pkt, sizeof(input_pkt), NULL);
}
/* process buffered data */