lavc: deprecate AVCodecContext.sub_id.
In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
This commit is contained in:
@ -402,7 +402,6 @@ static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src,
|
||||
int err = 0;
|
||||
|
||||
if (dst != src) {
|
||||
dst->sub_id = src->sub_id;
|
||||
dst->time_base = src->time_base;
|
||||
dst->width = src->width;
|
||||
dst->height = src->height;
|
||||
|
Reference in New Issue
Block a user