You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/mediacodecdec: re-indent after previous commit
This commit is contained in:
@@ -634,18 +634,18 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
size = FFMIN(pkt->size - offset, size);
|
size = FFMIN(pkt->size - offset, size);
|
||||||
memcpy(data, pkt->data + offset, size);
|
memcpy(data, pkt->data + offset, size);
|
||||||
offset += size;
|
offset += size;
|
||||||
|
|
||||||
status = ff_AMediaCodec_queueInputBuffer(codec, index, 0, size, pts, 0);
|
status = ff_AMediaCodec_queueInputBuffer(codec, index, 0, size, pts, 0);
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Failed to queue input buffer (status = %d)\n", status);
|
av_log(avctx, AV_LOG_ERROR, "Failed to queue input buffer (status = %d)\n", status);
|
||||||
return AVERROR_EXTERNAL;
|
return AVERROR_EXTERNAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
av_log(avctx, AV_LOG_TRACE,
|
av_log(avctx, AV_LOG_TRACE,
|
||||||
"Queued input buffer %zd size=%zd ts=%"PRIi64"\n", index, size, pts);
|
"Queued input buffer %zd size=%zd ts=%"PRIi64"\n", index, size, pts);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (offset == 0)
|
if (offset == 0)
|
||||||
|
Reference in New Issue
Block a user