1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavc/mediacodec: remove stray empty lines

This commit is contained in:
Matthieu Bouron 2016-03-14 19:41:53 +01:00
parent 31fe3c4d23
commit 03a6ed83b0
2 changed files with 0 additions and 8 deletions

View File

@ -398,7 +398,6 @@ fail:
return NULL;
}
int ff_AMediaFormat_delete(FFAMediaFormat* format)
{
int ret = 0;
@ -658,7 +657,6 @@ fail:
return ret;
}
void ff_AMediaFormat_setInt32(FFAMediaFormat* format, const char* name, int32_t value)
{
int attached = 0;
@ -913,7 +911,6 @@ static const struct FFJniField jni_amediacodec_mapping[] = {
{ "android/media/MediaCodec", "getInputBuffer", "(I)Ljava/nio/ByteBuffer;", FF_JNI_METHOD, offsetof(struct JNIAMediaCodecFields, get_input_buffer_id), 0 },
{ "android/media/MediaCodec", "getInputBuffers", "()[Ljava/nio/ByteBuffer;", FF_JNI_METHOD, offsetof(struct JNIAMediaCodecFields, get_input_buffers_id), 1 },
{ "android/media/MediaCodec", "dequeueOutputBuffer", "(Landroid/media/MediaCodec$BufferInfo;J)I", FF_JNI_METHOD, offsetof(struct JNIAMediaCodecFields, dequeue_output_buffer_id), 1 },
{ "android/media/MediaCodec", "getOutputBuffer", "(I)Ljava/nio/ByteBuffer;", FF_JNI_METHOD, offsetof(struct JNIAMediaCodecFields, get_output_buffer_id), 0 },
{ "android/media/MediaCodec", "getOutputBuffers", "()[Ljava/nio/ByteBuffer;", FF_JNI_METHOD, offsetof(struct JNIAMediaCodecFields, get_output_buffers_id), 1 },
@ -931,7 +928,6 @@ static const struct FFJniField jni_amediacodec_mapping[] = {
{ NULL }
};
static const AVClass amediacodec_class = {
.class_name = "amediacodec",
.item_name = av_default_item_name,
@ -1252,7 +1248,6 @@ fail:
return NULL;
}
int ff_AMediaCodec_delete(FFAMediaCodec* codec)
{
int ret = 0;
@ -1388,7 +1383,6 @@ fail:
return ret;
}
int ff_AMediaCodec_releaseOutputBuffer(FFAMediaCodec* codec, size_t idx, int render)
{
int ret = 0;
@ -1429,7 +1423,6 @@ fail:
return ret;
}
ssize_t ff_AMediaCodec_dequeueInputBuffer(FFAMediaCodec* codec, int64_t timeoutUs)
{
int ret = 0;

View File

@ -389,7 +389,6 @@ int ff_mediacodec_dec_decode(AVCodecContext *avctx, MediaCodecDecContext *s,
int64_t input_dequeue_timeout_us = INPUT_DEQUEUE_TIMEOUT_US;
int64_t output_dequeue_timeout_us = OUTPUT_DEQUEUE_TIMEOUT_US;
if (pkt->size == 0) {
need_flushing = 1;
}