Revision 0da71265 libavformat/raw.c

View differences:

libavformat/raw.c
280 280
    raw_write_trailer,
281 281
};
282 282

  
283
AVInputFormat h264_iformat = {
284
    "h264",
285
    "raw H264 video format",
286
    0,
287
    NULL /*mpegvideo_probe*/,
288
    video_read_header,
289
    raw_read_packet,
290
    raw_read_close,
291
    .extensions = "h26l,h264", //FIXME remove after writing mpeg4_probe
292
    .value = CODEC_ID_H264,
293
};
294

  
295
AVOutputFormat h264_oformat = {
296
    "h264",
297
    "raw H264 video format",
298
    NULL,
299
    "h264",
300
    0,
301
    CODEC_ID_NONE,
302
    CODEC_ID_H264,
303
    raw_write_header,
304
    raw_write_packet,
305
    raw_write_trailer,
306
};
307

  
283 308
AVInputFormat mpegvideo_iformat = {
284 309
    "mpegvideo",
285 310
    "MPEG video",
......
494 519
    
495 520
    av_register_input_format(&m4v_iformat);
496 521
    av_register_output_format(&m4v_oformat);
522
    
523
    av_register_input_format(&h264_iformat);
524
    av_register_output_format(&h264_oformat);
497 525

  
498 526
    av_register_input_format(&mpegvideo_iformat);
499 527
    av_register_output_format(&mpeg1video_oformat);

Also available in: Unified diff