* commit 'b667252a41':
  h2645_parse: add support for parsing h264

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2016-04-26 14:07:03 +01:00
commit 438ed974b8
4 changed files with 38 additions and 5 deletions

View file

@ -89,7 +89,8 @@ static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf,
HEVCParserContext *ctx = s->priv_data;
int ret, i;
ret = ff_h2645_split_packet(&ctx->pkt, buf, buf_size, avctx, 0, 0);
ret = ff_h2645_split_packet(&ctx->pkt, buf, buf_size, avctx, 0, 0,
AV_CODEC_ID_HEVC);
if (ret < 0)
return ret;