Commit 8f35a2c0 authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: cosmetics

Originally committed as revision 14579 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c171af9b
...@@ -1280,9 +1280,7 @@ matroska_execute_seekhead(MatroskaDemuxContext *matroska) ...@@ -1280,9 +1280,7 @@ matroska_execute_seekhead(MatroskaDemuxContext *matroska)
static int static int
matroska_aac_profile (char *codec_id) matroska_aac_profile (char *codec_id)
{ {
static const char *aac_profiles[] = { static const char *aac_profiles[] = { "MAIN", "LC", "SSR" };
"MAIN", "LC", "SSR"
};
int profile; int profile;
for (profile=0; profile<ARRAY_SIZE(aac_profiles); profile++) for (profile=0; profile<ARRAY_SIZE(aac_profiles); profile++)
...@@ -1536,8 +1534,7 @@ matroska_read_header (AVFormatContext *s, ...@@ -1536,8 +1534,7 @@ matroska_read_header (AVFormatContext *s,
if (codec_id == CODEC_ID_NONE) if (codec_id == CODEC_ID_NONE)
av_log(matroska->ctx, AV_LOG_INFO, av_log(matroska->ctx, AV_LOG_INFO,
"Unknown/unsupported CodecID %s.\n", "Unknown/unsupported CodecID %s.\n", track->codec_id);
track->codec_id);
av_set_pts_info(st, 64, matroska->time_scale*track->time_scale, 1000*1000*1000); /* 64 bit pts in ns */ av_set_pts_info(st, 64, matroska->time_scale*track->time_scale, 1000*1000*1000); /* 64 bit pts in ns */
...@@ -1815,8 +1812,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size, ...@@ -1815,8 +1812,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
uint8_t *pkt_data = data; uint8_t *pkt_data = data;
if (encodings && encodings->scope & 1) { if (encodings && encodings->scope & 1) {
offset = matroska_decode_buffer(&pkt_data, &pkt_size, offset = matroska_decode_buffer(&pkt_data,&pkt_size, track);
track);
if (offset < 0) if (offset < 0)
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment