"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavformat/matroskadec.c" between
libav-12.2.tar.gz and libav-12.3.tar.gz

About: libav provides cross-platform tools ("avconv") and libraries to convert, manipulate and stream a wide range of multimedia (audio and video) formats and protocols.

matroskadec.c  (libav-12.2):matroskadec.c  (libav-12.3)
skipping to change at line 1800 skipping to change at line 1800
ffio_init_context(&b, track->codec_priv.data, ffio_init_context(&b, track->codec_priv.data,
track->codec_priv.size, track->codec_priv.size,
0, NULL, NULL, NULL, NULL); 0, NULL, NULL, NULL, NULL);
avio_skip(&b, 22); avio_skip(&b, 22);
flavor = avio_rb16(&b); flavor = avio_rb16(&b);
track->audio.coded_framesize = avio_rb32(&b); track->audio.coded_framesize = avio_rb32(&b);
avio_skip(&b, 12); avio_skip(&b, 12);
track->audio.sub_packet_h = avio_rb16(&b); track->audio.sub_packet_h = avio_rb16(&b);
track->audio.frame_size = avio_rb16(&b); track->audio.frame_size = avio_rb16(&b);
track->audio.sub_packet_size = avio_rb16(&b); track->audio.sub_packet_size = avio_rb16(&b);
if (flavor <= 0 || if (flavor < 0 ||
track->audio.coded_framesize <= 0 || track->audio.coded_framesize <= 0 ||
track->audio.sub_packet_h <= 0 || track->audio.sub_packet_h <= 0 ||
track->audio.frame_size <= 0 || track->audio.frame_size <= 0 ||
track->audio.sub_packet_size <= 0) track->audio.sub_packet_size <= 0)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
track->audio.buf = av_malloc(track->audio.frame_size * track->audio.buf = av_malloc(track->audio.frame_size *
track->audio.sub_packet_h); track->audio.sub_packet_h);
if (!track->audio.buf) if (!track->audio.buf)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
if (codec_id == AV_CODEC_ID_RA_288) { if (codec_id == AV_CODEC_ID_RA_288) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)