Browse Source

Merge commit '027712e851da4d124a842c9e2802f95d50582553'

* commit '027712e851da4d124a842c9e2802f95d50582553':
  jvdec: Return EOF on end of file

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
d2344afb90
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/jvdec.c

+ 3
- 0
libavformat/jvdec.c View File

@@ -184,6 +184,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
}

if (s->pb->eof_reached)
return AVERROR_EOF;

return AVERROR(EIO);
}



Loading…
Cancel
Save