Original Commit: r18 | ods15 | 2006-09-22 12:29:26 +0300 (Fri, 22 Sep 2006) | 2 lines

add ability to run encoder for testing purposes...

Originally committed as revision 6429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Oded Shimon 2006-10-02 05:55:45 +00:00
parent 128c0dfe9a
commit faf7f0ce7e
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ static int vorbis_encode_frame(AVCodecContext * avccontext, unsigned char * pack
avccontext->coded_frame->pts = av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base);
memcpy(packets, compressed_frame, l);
#endif
return 0;
return data ? 50 : 0;
}