libavformat: Fix a faulty api deprecation guard in prepare_input_packet
authorMartin Storsjö <martin@martin.st>
Thu, 15 Dec 2016 07:45:49 +0000 (09:45 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 15 Dec 2016 10:01:48 +0000 (12:01 +0200)
commitcdcfa97dc49d83b5eefd0a651db6bb0a6f98e8f2
tree7691d131929e5994487ee9ec41f5bfbbf45d2a98
parent2425d7329fdccfa9954faba748f3865151354f0c
libavformat: Fix a faulty api deprecation guard in prepare_input_packet

This seems to have been added by mistake in 11de006b, by not
noticing the negation for the existing condition. This block does
not contain any code that accesses the codec field in AVStream.

This function is meant to serve as a complement to compute_pkt_fields2,
which is guarded by FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mux.c