diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-11 01:34:51 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-11 01:37:30 +0400 |
commit | 8702e35b9b0852c28b86db7dcf9942d91c4a1ab2 (patch) | |
tree | 9eadc366de11932951090b745a67da15831182a0 | |
parent | e387c9d5dd56e1f29470ee933027ee3d92f9cfd6 (diff) |
vda: try to fix compile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/vda.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libavcodec/vda.c b/libavcodec/vda.c index e910ce1332..05e6da42f6 100644 --- a/libavcodec/vda.c +++ b/libavcodec/vda.c @@ -149,14 +149,6 @@ int ff_vda_create_decoder(struct vda_context *vda_ctx, pthread_mutex_init(&vda_ctx->queue_mutex, NULL); -<<<<<<< HEAD - if (extradata[4]==0xFE) { - // convert 3 byte NAL sizes to 4 byte - extradata[4] = 0xFF; - } - -||||||| merged common ancestors -======= /* Each VCL NAL in the bistream sent to the decoder * is preceeded by a 4 bytes length header. * Change the avcC atom header if needed, to signal headers of 4 bytes. */ @@ -177,27 +169,14 @@ int ff_vda_create_decoder(struct vda_context *vda_ctx, avc_data = CFDataCreate(kCFAllocatorDefault, extradata, extradata_size); } ->>>>>>> qatar/master config_info = CFDictionaryCreateMutable(kCFAllocatorDefault, 4, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); -<<<<<<< HEAD - height = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->height); - width = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->width); - format = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->format); - avc_data = CFDataCreate(kCFAllocatorDefault, extradata, extradata_size); -||||||| merged common ancestors - height = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->height); - width = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->width); - format = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->format); - avc_data = CFDataCreate(kCFAllocatorDefault, extradata, extradata_size); -======= height = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->height); width = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->width); format = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &vda_ctx->format); ->>>>>>> qatar/master CFDictionarySetValue(config_info, kVDADecoderConfiguration_Height, height); CFDictionarySetValue(config_info, kVDADecoderConfiguration_Width, width); |