Revision 2839dc97 ffmpeg.c

View differences:

ffmpeg.c
39 39
#include "libavcore/parseutils.h"
40 40
#include "libavutil/colorspace.h"
41 41
#include "libavutil/fifo.h"
42
#include "libavutil/intreadwrite.h"
42 43
#include "libavutil/pixdesc.h"
43 44
#include "libavutil/avstring.h"
44 45
#include "libavutil/libm.h"
......
2868 2869

  
2869 2870
    *codec_tag = strtol(arg, &tail, 0);
2870 2871
    if (!tail || *tail)
2871
        *codec_tag = arg[0] + (arg[1]<<8) + (arg[2]<<16) + (arg[3]<<24);
2872
        *codec_tag = AV_RL32(arg);
2872 2873

  
2873 2874
    return 0;
2874 2875
}

Also available in: Unified diff