Changeset 207d9eab in ffmpeg
- Timestamp:
- Dec 16, 2011, 3:58:20 PM (13 years ago)
- Branches:
- master
- Children:
- ee181f84
- Parents:
- 559ae20d
- git-author:
- Michael Niedermayer <michaelni@gmx.at> (12/16/11 14:44:29)
- git-committer:
- Michael Niedermayer <michaelni@gmx.at> (12/16/11 15:58:20)
- Location:
- libavformat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libavformat/txd.c
r559ae20d r207d9eab 50 50 /* the parameters will be extracted from the compressed bitstream */ 51 51 52 s->pb->maxsize= avio_size(s->pb);53 54 52 return 0; 55 53 } -
libavformat/westwood.c
r559ae20d r207d9eab 321 321 322 322 while (avio_read(pb, preamble, VQA_PREAMBLE_SIZE) == VQA_PREAMBLE_SIZE) { 323 int64_t filesize= avio_size(s->pb);324 323 chunk_type = AV_RB32(&preamble[0]); 325 324 chunk_size = AV_RB32(&preamble[4]); 326 327 if(filesize>=0 && chunk_size > filesize){328 av_log(s, AV_LOG_ERROR, "Chunk with size %d truncated\n", chunk_size);329 chunk_size= filesize;330 }331 325 332 326 skip_byte = chunk_size & 0x01;
Note:
See TracChangeset
for help on using the changeset viewer.