1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vda: convert 3 byte NAL sizes to 4 byte.

This commit is contained in:
Sebastien Zwickert 2012-01-08 20:22:12 +01:00
parent ca324f9869
commit 5ada64a549

View File

@ -179,6 +179,11 @@ int ff_vda_create_decoder(struct vda_context *vda_ctx,
vda_lock_operation(&vda_ctx->queue_mutex, AV_LOCK_CREATE);
if (extradata[4]==0xFE) {
// convert 3 byte NAL sizes to 4 byte
extradata[4] = 0xFF;
}
config_info = CFDictionaryCreateMutable(kCFAllocatorDefault,
4,
&kCFTypeDictionaryKeyCallBacks,