diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-04 18:33:07 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-04 18:33:07 +0000 |
commit | b0c7f5a9d82feb7f4c4cdf77f1537193670ab58b (patch) | |
tree | 3eaf888936a068e725964631e99c3ac4719409a2 /libavformat/ogg.c | |
parent | a03cbe5f7f12682d2c790e0a809dc6edf1bb6f21 (diff) | |
download | ffmpeg-b0c7f5a9d82feb7f4c4cdf77f1537193670ab58b.tar.gz |
move zero size hack from ogg.c to utils.c
Originally committed as revision 2959 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg.c')
-rw-r--r-- | libavformat/ogg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/ogg.c b/libavformat/ogg.c index 8277d91821..65c507c240 100644 --- a/libavformat/ogg.c +++ b/libavformat/ogg.c @@ -73,10 +73,6 @@ static int ogg_write_packet(AVFormatContext *avfcontext, pts= av_rescale(pts, avctx->sample_rate, AV_TIME_BASE); - if(!size){ -// av_log(avfcontext, AV_LOG_DEBUG, "zero packet\n"); - return 0; - } // av_log(avfcontext, AV_LOG_DEBUG, "M%d\n", size); /* flush header packets so audio starts on a new page */ |