mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-30 08:27:43 +00:00
Merge remote-tracking branch 'newdev/master'
* newdev/master: mpegts: propagate avio EOF in read_packet() configure: Initial support for --target-os=symbian Fixed-point FFT and MDCT Include dependencies for test programs ac3enc: simplify sym_quant() flvdec: read index stored in the 'keyframes' tag. mov: Add support for zero-sized stsc runs. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
7ac167493e
16 changed files with 334 additions and 58 deletions
|
@ -1350,7 +1350,7 @@ static int read_packet(AVFormatContext *s, uint8_t *buf, int raw_packet_size)
|
|||
for(;;) {
|
||||
len = avio_read(pb, buf, TS_PACKET_SIZE);
|
||||
if (len != TS_PACKET_SIZE)
|
||||
return AVERROR(EIO);
|
||||
return len < 0 ? len : AVERROR_EOF;
|
||||
/* check paquet sync byte */
|
||||
if (buf[0] != 0x47) {
|
||||
/* find a new packet start */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue