Rawvid: rewind to the beginning of the stream when an error occur
commit0dad9f6c5ced9f536c3cfd9ca950c545d4325cce
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 24 May 2010 20:43:04 +0000 (24 22:43 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 24 May 2010 21:24:02 +0000 (24 23:24 +0200)
tree14cfac167ac163a9578215ebb8a8bb8dd82f4965
parentec5bc33a44059336e8101773a7f98f478f4c6bd0
Rawvid: rewind to the beginning of the stream when an error occur

That fixes the y4m with unknown chroma that avformat can read (Close #3656)
(cherry picked from commit 2b5aff224a537fedf35e63ba7a637cd9ff490e71)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/rawvid.c