mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.
Originally committed as revision 14166 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fd9f315339
commit
4ad62d9a5c
@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui
|
||||
return 5;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DVVIDEO_ENCODER
|
||||
static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
|
||||
{
|
||||
int chan, i, j, k;
|
||||
@ -1187,7 +1188,6 @@ static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_ENCODERS
|
||||
static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
|
||||
void *data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user