diff options
-rw-r--r-- | contrib/ffmpeg/A10-h264-extradata.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ffmpeg/A10-h264-extradata.patch b/contrib/ffmpeg/A10-h264-extradata.patch new file mode 100644 index 000000000..9ad5c7337 --- /dev/null +++ b/contrib/ffmpeg/A10-h264-extradata.patch @@ -0,0 +1,14 @@ +diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c +index 145dce3..b9c47ab 100644 +--- a/libavcodec/h264_parser.c ++++ b/libavcodec/h264_parser.c +@@ -474,7 +474,8 @@ static int h264_split(AVCodecContext *avctx, + * } + */ + if ((state & 0xFFFFFF00) == 0x100 && (state & 0xFFFFFF1F) != 0x107 && +- (state & 0xFFFFFF1F) != 0x108 && (state & 0xFFFFFF1F) != 0x109) { ++ (state & 0xFFFFFF1F) != 0x108 && (state & 0xFFFFFF1F) != 0x109 && ++ (state & 0xFFFFFF1F) != 0x10d) { + if (has_sps) { + while (i > 4 && buf[i - 5] == 0) + i--; |