aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-09-22 18:50:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-22 18:50:15 +0000
commita42c7b07aeb9f4a73b88269d5838e44d9c5904a2 (patch)
treebe43dca5b7b4942304bb1673ecf299fbf256b529
parent2b18dcd06d0dd7def0f97d72eb424cd3ace37644 (diff)
downloadffmpeg-a42c7b07aeb9f4a73b88269d5838e44d9c5904a2.tar.gz
removing useless code
Originally committed as revision 3493 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4e6ec746c3..1bbf7d7c5d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1213,25 +1213,10 @@ static int output_packet(AVInputStream *ist, int ist_index,
do_audio_out(os, ost, ist, data_buf, data_size);
break;
case CODEC_TYPE_VIDEO:
- /* find an audio stream for synchro */
- {
- int i;
- AVOutputStream *audio_sync, *ost1;
- audio_sync = NULL;
- for(i=0;i<nb_ostreams;i++) {
- ost1 = ost_table[i];
- if (ost1->file_index == ost->file_index &&
- ost1->st->codec.codec_type == CODEC_TYPE_AUDIO) {
- audio_sync = ost1;
- break;
- }
- }
-
do_video_out(os, ost, ist, &picture, &frame_size);
video_size += frame_size;
if (do_vstats && frame_size)
do_video_stats(os, ost, frame_size);
- }
break;
default:
av_abort();