Originally committed as revision 14234 to svn://svn.ffmpeg.org/ffmpeg/trunk
return ret;
st= s->streams[pkt->stream_index];
- if(!pktl && st->codec->codec_id!=CODEC_ID_PROBE)
- return ret;
-
- add_to_pktbuf(&s->raw_packet_buffer, pkt);
-
switch(st->codec->codec_type){
case CODEC_TYPE_VIDEO:
if(s->video_codec_id) st->codec->codec_id= s->video_codec_id;
break;
}
+ if(!pktl && st->codec->codec_id!=CODEC_ID_PROBE)
+ return ret;
+
+ add_to_pktbuf(&s->raw_packet_buffer, pkt);
+
if(st->codec->codec_id == CODEC_ID_PROBE){
AVProbeData *pd = &st->probe_data;