]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dss.c
avformat/dump: Remove remnants of codec timebase
[ffmpeg] / libavformat / dss.c
index b6e77bd0199e814171761c40068629b0e89808f8..ee3a099a950c417eb0b0eca72da20669b7414415 100644 (file)
@@ -247,7 +247,7 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt)
         return AVERROR(EAGAIN);
     }
 
-    return pkt->size;
+    return 0;
 
 error_eof:
     return ret < 0 ? ret : AVERROR_EOF;
@@ -302,7 +302,7 @@ static int dss_723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
     if (ret < size)
         return ret < 0 ? ret : AVERROR_EOF;
 
-    return pkt->size;
+    return 0;
 }
 
 static int dss_read_packet(AVFormatContext *s, AVPacket *pkt)
@@ -354,7 +354,7 @@ static int dss_read_seek(AVFormatContext *s, int stream_index,
 }
 
 
-AVInputFormat ff_dss_demuxer = {
+const AVInputFormat ff_dss_demuxer = {
     .name           = "dss",
     .long_name      = NULL_IF_CONFIG_SMALL("Digital Speech Standard (DSS)"),
     .priv_data_size = sizeof(DSSDemuxContext),