Changeset 915

Show
Ignore:
Timestamp:
07/26/08 18:13:21 (4 months ago)
Author:
astrange
Message:

Always call map_video_codec_to_mov_tag() since at least one FLV has a wrong codec_tag which is ignored by Flash Player.
Closes #348, might break something I don't know about.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ff_private.c

    r913 r915  
    169169        (*imgHdl)->idSize = sizeof(ImageDescription); 
    170170         
    171         if (codec->codec_tag
     171        if (!((*imgHdl)->cType = map_video_codec_to_mov_tag(codec->codec_id))
    172172                (*imgHdl)->cType = BSWAP(codec->codec_tag); 
    173         else 
    174                 // need to lookup the fourcc from the codec_id 
    175                 (*imgHdl)->cType = map_video_codec_to_mov_tag(codec->codec_id); 
    176173//      FourCCprintf("fourcc: ", (*imgHdl)->cType); 
    177174