Browse Source

avformat/rawdec: Make ff_raw_data_read_header() non static

This is similar to the raw video read header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
dc265e2b6b
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      libavformat/rawdec.c
  2. +2
    -0
      libavformat/rawdec.h

+ 1
- 1
libavformat/rawdec.c View File

@@ -92,7 +92,7 @@ fail:
return ret;
}

static int ff_raw_data_read_header(AVFormatContext *s)
int ff_raw_data_read_header(AVFormatContext *s)
{
AVStream *st = avformat_new_stream(s, NULL);
if (!st)


+ 2
- 0
libavformat/rawdec.h View File

@@ -41,6 +41,8 @@ int ff_raw_audio_read_header(AVFormatContext *s);

int ff_raw_video_read_header(AVFormatContext *s);

int ff_raw_data_read_header(AVFormatContext *s);

#define FF_RAWVIDEO_DEMUXER_CLASS(name)\
static const AVClass name ## _demuxer_class = {\
.class_name = #name " demuxer",\


Loading…
Cancel
Save