History

lavc/ffv1dec: move copy_fields() under HAVE_THREADS

It is unused otherwise

Anton Khirnov committed 2 years ago

Commit d845ea41 parent 3a5c8141 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ffv1dec.c+1−1
@@ -1027,6 +1027,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 1026 unmodified lines
10271027 return buf_size;
10281028 }
10291029
1030+#if HAVE_THREADS
10301031 static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc,
10311032 const FFV1Context *fsrc)
10321033 {
@@ -1055,7 +1056,6 @@ static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc, · 22 unmodified lines
10551056 }
10561057 }
10571058
1058−#if HAVE_THREADS
10591059 static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
10601060 {
10611061 FFV1Context *fsrc = src->priv_data;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t