Commit 83706367 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'a4b1b5aa'

* commit 'a4b1b5aa':
  wc3movie: Drop unused cruft
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 2f42aef3 a4b1b5aa
...@@ -242,9 +242,6 @@ static int wc3_read_packet(AVFormatContext *s, ...@@ -242,9 +242,6 @@ static int wc3_read_packet(AVFormatContext *s,
case TEXT_TAG: case TEXT_TAG:
/* subtitle chunk */ /* subtitle chunk */
#if 0
avio_skip(pb, size);
#else
if ((unsigned)size > sizeof(text) || (ret = avio_read(pb, text, size)) != size) if ((unsigned)size > sizeof(text) || (ret = avio_read(pb, text, size)) != size)
ret = AVERROR(EIO); ret = AVERROR(EIO);
else { else {
...@@ -262,7 +259,6 @@ static int wc3_read_packet(AVFormatContext *s, ...@@ -262,7 +259,6 @@ static int wc3_read_packet(AVFormatContext *s,
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
av_log (s, AV_LOG_DEBUG, " fronsay: %s\n", &text[i + 1]); av_log (s, AV_LOG_DEBUG, " fronsay: %s\n", &text[i + 1]);
} }
#endif
break; break;
case AUDI_TAG: case AUDI_TAG:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment