Commit 7f6e3d4d authored by ods15's avatar ods15

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...

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c31b2d3f
...@@ -483,7 +483,7 @@ static int vorbis_encode_frame(AVCodecContext * avccontext, unsigned char * pack ...@@ -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); avccontext->coded_frame->pts = av_rescale_q(op2->granulepos, (AVRational){1, avccontext->sample_rate}, avccontext->time_base);
memcpy(packets, compressed_frame, l); memcpy(packets, compressed_frame, l);
#endif #endif
return 0; return data ? 50 : 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment