[FFmpeg-cvslog] avformat/http: dont fail with unknown Content-Encodings

Michael Niedermayer git at videolan.org
Sat Oct 26 19:28:44 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct 26 18:54:57 2013 +0200| [d2db1bb7dea19551e4604067d0acbd9e2950c698] | committer: Michael Niedermayer

avformat/http: dont fail with unknown Content-Encodings

Fixes: http://m1.file.xiami.com/282/23282/343749/1769075752_709488_l.mp3

Based-on-patch-by: Crossle Song <sxm at yixia.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d2db1bb7dea19551e4604067d0acbd9e2950c698
---

 libavformat/http.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 7e8d609..c5b5c53 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -437,7 +437,6 @@ static int process_line(URLContext *h, char *line, int line_count,
                 // the header at all if this is the case).
             } else {
                 av_log(h, AV_LOG_WARNING, "Unknown content coding: %s\n", p);
-                return AVERROR(ENOSYS);
             }
         }
     }



More information about the ffmpeg-cvslog mailing list