Revision 764ef400 libavformat/yuv4mpeg.c

View differences:

libavformat/yuv4mpeg.c
22 22
#define Y4M_FRAME_MAGIC "FRAME"
23 23
#define Y4M_LINE_MAX 256
24 24

  
25
#ifdef CONFIG_ENCODERS
25 26
static int yuv4_write_header(AVFormatContext *s)
26 27
{
27 28
    AVStream *st;
......
172 173
    yuv4_write_trailer,
173 174
    .flags = AVFMT_RAWPICTURE,
174 175
};
176
#endif //CONFIG_ENCODERS
175 177

  
176 178
/* Header size increased to allow room for optional flags */
177 179
#define MAX_YUV4_HEADER 80
......
268 270
int yuv4mpeg_init(void)
269 271
{
270 272
    av_register_input_format(&yuv4mpegpipe_iformat);
273
#ifdef CONFIG_ENCODERS
271 274
    av_register_output_format(&yuv4mpegpipe_oformat);
275
#endif //CONFIG_ENCODERS
272 276
    return 0;
273 277
}
274 278

  

Also available in: Unified diff