"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavcodec/alac.c" between
libav-11.7.tar.gz and libav-11.8.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.

alac.c  (libav-11.7):alac.c  (libav-11.8)
skipping to change at line 450 skipping to change at line 450
channels); channels);
if (ret < 0 && get_bits_left(&alac->gb)) if (ret < 0 && get_bits_left(&alac->gb))
return ret; return ret;
ch += channels; ch += channels;
} }
if (!got_end) { if (!got_end) {
av_log(avctx, AV_LOG_ERROR, "no end tag found. incomplete packet.\n"); av_log(avctx, AV_LOG_ERROR, "no end tag found. incomplete packet.\n");
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
if (!alac->nb_samples) {
av_log(avctx, AV_LOG_ERROR, "No decodable data in the packet\n");
return AVERROR_INVALIDDATA;
}
if (avpkt->size * 8 - get_bits_count(&alac->gb) > 8) { if (avpkt->size * 8 - get_bits_count(&alac->gb) > 8) {
av_log(avctx, AV_LOG_ERROR, "Error : %d bits left\n", av_log(avctx, AV_LOG_ERROR, "Error : %d bits left\n",
avpkt->size * 8 - get_bits_count(&alac->gb)); avpkt->size * 8 - get_bits_count(&alac->gb));
} }
*got_frame_ptr = 1; *got_frame_ptr = 1;
return avpkt->size; return avpkt->size;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS