diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-10 21:13:15 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-10 21:13:15 +0000 |
commit | 0d7de49f1c142efd2586b0a0ed861b4516ae426c (patch) | |
tree | 3ca54cd3daca05d8d6068079b4d875ce8e0a51d3 /libmpdemux | |
parent | f46dc0b51431b7a7f83d0487a87392ec624d3e7a (diff) |
chunk size = 0 is valid for DATA chunks (used in live streams), don't
print warning message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 41c0c2b20d..43e6297a19 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -1127,7 +1127,7 @@ static demuxer_t* demux_open_real(demuxer_t* demuxer) mp_msg(MSGT_DEMUX,MSGL_V, "Chunk: %.4s (%x) (size: 0x%x, offset: 0x%x)\n", (char *)&chunk_id, chunk_id, chunk_size, chunk_pos); - if (chunk_size < 10){ + if (chunk_id != MKTAG('D', 'A', 'T', 'A') && chunk_size < 10){ mp_msg(MSGT_DEMUX,MSGL_ERR,"demux_real: invalid chunksize! (%d)\n",chunk_size); break; //return; } |