aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-17 16:03:36 +0200
committerMartin Storsjö <martin@martin.st>2013-01-17 19:06:56 +0200
commite33db35b4a91ad543d9dde3a981a89118ba68937 (patch)
tree9e056fd0cc4b13349cc8bdf1c98173f2a5e2358d /libavformat/img2.c
parentb805c725a31f6cb05c488e485eb6ab370a851633 (diff)
downloadffmpeg-e33db35b4a91ad543d9dde3a981a89118ba68937.tar.gz
theora: Skip zero-sized headers
This fixes a regression since d9cf5f51 with theora over RTP (possibly with other variants of theora as well). In theora over RTP, the second of the 3 headers turns out to be 0 bytes long, which prior to d9cf5f51 worked just fine. After d9cf5f51, reading from the bitstream reader fails (since the reader wasn't initialized but returned an error if initialized with 0 bits). CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/img2.c')
0 files changed, 0 insertions, 0 deletions