Skip to content
Snippets Groups Projects
Commit efff6ccb authored by Zhao Zhili's avatar Zhao Zhili Committed by Tristan Matthews
Browse files

codec: aom: use VLC_TS_INVALID


Signed-off-by: default avatarTristan Matthews <tmatth@videolan.org>
parent 18b909f4
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ static int Decode(decoder_t *dec, block_t *block)
return VLCDEC_SUCCESS;
}
*pkt_pts = block->i_pts ? block->i_pts : block->i_dts;
*pkt_pts = (block->i_pts != VLC_TS_INVALID) ? block->i_pts : block->i_dts;
aom_codec_err_t err;
err = aom_codec_decode(ctx, block->p_buffer, block->i_buffer, pkt_pts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment