diff options
Diffstat (limited to 'ffmpeg/libavformat/amr.c')
| -rw-r--r-- | ffmpeg/libavformat/amr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ffmpeg/libavformat/amr.c b/ffmpeg/libavformat/amr.c index 07ab1ba..db9bb4e 100644 --- a/ffmpeg/libavformat/amr.c +++ b/ffmpeg/libavformat/amr.c @@ -56,7 +56,6 @@ static int amr_write_header(AVFormatContext *s) static int amr_write_packet(AVFormatContext *s, AVPacket *pkt) { avio_write(s->pb, pkt->data, pkt->size); - avio_flush(s->pb); return 0; } #endif /* CONFIG_AMR_MUXER */ @@ -133,8 +132,6 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) }; size = packed_size[mode]; - } else { - av_assert0(0); } if (!size || av_new_packet(pkt, size)) |
