summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-30 02:48:47 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-30 02:48:47 +0000
commit54e28a852c1357a14169b516635e369d908eb324 (patch)
tree10d52129fefd9e1cf3147e1ff1e5a482abf491fc /ffmpeg.c
parent87e302bfd8ffbc6cdb20920029013956b10ace63 (diff)
downloadffmpeg-54e28a852c1357a14169b516635e369d908eb324.tar.gz
remove commented code using real_pict_num
Originally committed as revision 18989 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6c8923da39..7ee0fbfb15 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -986,7 +986,7 @@ static void do_video_out(AVFormatContext *s,
fprintf(stderr, "Video encoding failed\n");
av_exit(1);
}
- //enc->frame_number = enc->real_pict_num;
+
if(ret>0){
pkt.data= bit_buffer;
pkt.size= ret;
@@ -1001,9 +1001,8 @@ static void do_video_out(AVFormatContext *s,
write_frame(s, &pkt, ost->st->codec, bitstream_filters[ost->file_index][pkt.stream_index]);
*frame_size = ret;
video_size += ret;
- //fprintf(stderr,"\nFrame: %3d %3d size: %5d type: %d",
- // enc->frame_number-1, enc->real_pict_num, ret,
- // enc->pict_type);
+ //fprintf(stderr,"\nFrame: %3d size: %5d type: %d",
+ // enc->frame_number-1, ret, enc->pict_type);
/* if two pass, output log */
if (ost->logfile && enc->stats_out) {
fprintf(ost->logfile, "%s", enc->stats_out);