rdt: remove workaround for infinite loop with aac
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 27 Feb 2012 09:08:44 +0000 (04:08 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 5 Mar 2012 18:08:16 +0000 (13:08 -0500)
avformat_find_stream_info() no longer hangs while waiting for AAC frame_size

libavformat/rdt.c

index 207fc92..9f85299 100644 (file)
@@ -432,9 +432,6 @@ rdt_parse_sdp_line (AVFormatContext *s, int st_index,
                 }
                 rdt->rmst[s->streams[n]->index] = ff_rm_alloc_rmstream();
                 rdt_load_mdpr(rdt, s->streams[n], (n - first) * 2);
-
-                if (s->streams[n]->codec->codec_id == CODEC_ID_AAC)
-                    s->streams[n]->codec->frame_size = 1; // FIXME
            }
     }