Mercurial > libavformat.hg
comparison matroskadec.c @ 4352:817bef131f7f libavformat
cosmetics: whitespace
author | aurel |
---|---|
date | Mon, 02 Feb 2009 21:32:11 +0000 |
parents | 96dba41bad7f |
children | 56ea2b1028fe |
comparison
equal
deleted
inserted
replaced
4351:e9b7237e3f3d | 4352:817bef131f7f |
---|---|
869 case MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP: | 869 case MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP: |
870 return encodings[0].compression.settings.size; | 870 return encodings[0].compression.settings.size; |
871 case MATROSKA_TRACK_ENCODING_COMP_LZO: | 871 case MATROSKA_TRACK_ENCODING_COMP_LZO: |
872 do { | 872 do { |
873 olen = pkt_size *= 3; | 873 olen = pkt_size *= 3; |
874 pkt_data = av_realloc(pkt_data, | 874 pkt_data = av_realloc(pkt_data, pkt_size+AV_LZO_OUTPUT_PADDING); |
875 pkt_size+AV_LZO_OUTPUT_PADDING); | |
876 result = av_lzo1x_decode(pkt_data, &olen, data, &isize); | 875 result = av_lzo1x_decode(pkt_data, &olen, data, &isize); |
877 } while (result==AV_LZO_OUTPUT_FULL && pkt_size<10000000); | 876 } while (result==AV_LZO_OUTPUT_FULL && pkt_size<10000000); |
878 if (result) | 877 if (result) |
879 goto failed; | 878 goto failed; |
880 pkt_size -= olen; | 879 pkt_size -= olen; |