[FFmpeg-cvslog] r17909 - trunk/libavformat/rmdec.c

Kostya kostya.shishkov
Mon Mar 9 15:34:59 CET 2009


On Mon, Mar 09, 2009 at 01:46:32PM +0100, rbultje wrote:
> Author: rbultje
> Date: Mon Mar  9 13:46:32 2009
> New Revision: 17909
> 
> Log:
> Replace separate packet parsing for "old_format" .ra files by a call to
> ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an
> option" thread, which sort-of turned into an aggregate of unrelated rmdec.c
> cleanups.
 
I think I've mentioned this could be further simplified to:
 for(;;){
  if(cache present)
   ff_rm_retrieve_cache();
  if(rm->old_format){
   set packet parameters
  }else
   sync();
  res = ff_parse_packet();
  if(res != -1)
   return res;
 }

but you are on the right track ;)




More information about the ffmpeg-cvslog mailing list